import 'react-app-polyfill/ie9';
import 'react-app-polyfill/stable';
import React from 'react';
import ReactDOM from 'react-dom';
import * as serviceWorker from './serviceWorker';
import '@/styles/index.scss';
import Page from './page'
import { Provider } from 'react-redux'
import store from '@/store'
import {message} from 'antd'

message.config({
    duration:1
})

console.log(store.getState())

ReactDOM.render(
    <Provider store={store}>
        <Page /> 
    </Provider>
    ,document.getElementById('root')
);

serviceWorker.unregister();
